#ifndef MAININTERFACE_H
#define MAININTERFACE_H

#include <QMainWindow>
#include <QFile>
#include <QPoint>
#include <QMouseEvent>
#include <QTcpSocket>

#include "timerlable.h"
#include "settings.h"
#include "music.h"
#include "weather.h"

namespace Ui {
class mainInterface;
}

class mainInterface : public QMainWindow
{
    Q_OBJECT

public:
    explicit mainInterface(QWidget *parent = nullptr);
    ~mainInterface();

signals:
    void closeParent();

public slots:
    void mousePressEvent(QMouseEvent *event);
    void mouseMoveEvent(QMouseEvent *event);

private slots:
    void on_closeButton_clicked();

    void on_settingsPushButton_clicked();

    void on_musicPushButton_clicked();

    void on_weatherPushButton_clicked();

private:
    QPoint mouseOff;
    Ui::mainInterface *ui;
    // settings * s;
};

#endif // MAININTERFACE_H
